New to the community? Welcome! Please read our Community Rules and Guidelines
Join the live Q&A with our Community moderator team Wednesdays, 1-2pm PT (4-5pm ET) and Fridays, 4-5pm GMT. Learn more in Community Events
I just started receiving this error when loading the script in our development environment.
Uncaught Error: Invalid client-id for production: AZDxjDScFpQtjWTOUtWKbyN_bDt4OgqaF4eYXlewfBP4-8aqX3PiV8e1GWU6liB2CUXlkA59kJXE7M6R
I'm using the following script src address:
My understanding of the recent documentation is that the environment is determined from the client-id now, and that sb is a valid sandbox id.
I have the same problem and it really hinders my progress integrating paypal in my project.
It just spontaneously starts giving this error, and spontaneously stops, for no apparent reason.
This is the url I use:
The problem does not happen on other computers I was able to test. Just on my specific computer. Using Google Chrome's Incognito mode or clearing the browser cache does not fix the problem. It's hardly Ip-related because both computers are on the same local network, so paypal server sees the same Ip address for both computers. If I change the client Id for 'sb', the link works. If I change intent=authorize for intent=capture, the link works.
For now I change the client id to 'sb' as soon as the problem happens, but I would appreciate fixing the problem for good.