> For the complete documentation index, see [llms.txt](https://docs.sharinpix.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sharinpix.com/faqs/i-got-a-locker-service-error-message-on-sharinpix-components-what-should-i-do.md).

# I got a Locker Service error message on SharinPix components. What should I do?

If you encounter an error message similar to the following when trying to access a SharinPix component, this may be related to the **Lightning Locker API Version** in your organization not being compatible with the SharinPix component's API version.

<mark style="color:$danger;">`Action failed: ltng:require$controller$init [$A.lockerService.isLockerNextEnabledForComponent is not a function. (In '$A.lockerService.isLockerNextEnabledForComponent(c)', '$A.lockerService.isLockerNextEnabledForComponent' is undefined)]`</mark>

<mark style="color:$danger;">`Please verify if SharinPix Sync Setting is active`</mark>

![](/files/Oir5SWxnSHB2nWTqCBXu)

The workaround to avoid such mismatch is to, first, [upgrade your SharinPix package](/faqs/how-to-update-sharinpix-package-from-the-appexchange.md).

If the new package does not resolve the issue then, another workaround is to temporarily change the **Lightning Locker API Version** to a previous version number.

To do so, follow the steps below:

1. From the **Setup** , search for **Session Settings**.
2. On the **Session Settings** page, look for **Lightning Locker API Version** and change the API version to the previous version number.

![](/files/IgomAEMZ5YjxkaiIgdHl)

{% hint style="warning" %}
**Note:**

If the new SharinPix package does not resolve the issue, this means that we are still in the process of updating the API version of all our components. In such cases, you will have to temporarily change the **Lightning Locker API Version** to a previous version number.

If you wish to be notified once the API version of the SharinPix components is updated and when you can switch the **Lightning Locker API Version** back to the latest version, kindly [contact SharinPix Support](/getting-started/how-to-contact-support.md).
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.sharinpix.com/faqs/i-got-a-locker-service-error-message-on-sharinpix-components-what-should-i-do.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
