Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting 400 error on all requests #6

Open
ydancziger opened this issue Aug 5, 2021 · 2 comments
Open

Getting 400 error on all requests #6

ydancziger opened this issue Aug 5, 2021 · 2 comments

Comments

@ydancziger
Copy link

Hi

Does anyone know why the past 10 hours I'm getting a 400 error on all requests, with no changes to the code :(

@randommr3
Copy link

If you still haven't figured it out:
AdvertisingClient.js:448

If data is null it shouldn't go through JSONbig.stringify(data) or the API will throw 400.

Change:
JSONbig.stringify(data)
with
!!data ? JSONbig.stringify(data) : data

@ydancziger
Copy link
Author

ydancziger commented Aug 13, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants