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

Use dev key when config.developer_mode = true #31

Open
artinboghosian opened this issue Oct 10, 2018 · 0 comments
Open

Use dev key when config.developer_mode = true #31

artinboghosian opened this issue Oct 10, 2018 · 0 comments

Comments

@artinboghosian
Copy link

There are endpoints on leanplum api that allow setting of devMode: true in the request. The library adds devMode based on config.developer_mode setting. However, when you call track_multi, the production connection is always used. This results in a 403 error from the api: {"success"=>false, "error"=>{"message"=>"Development mode requested but not permitted."}}. On endpoints where devMode can be set the library should use the proper connection based on config.developer_mode setting.

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

1 participant