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

Crowdsource to Cityworks integration error: json.decoder.JSONDecodeError #76

Open
Nataliya1 opened this issue Jan 21, 2021 · 2 comments

Comments

@Nataliya1
Copy link

I couple months ago I updated my test Cityworks instance to the 15.6.1. Ever since I am not able to run the Crowdsource to Cityworks integration script. I am getting the following error:
image

The line 245 in my script is relate to the authentication:
image

And here is what I have in the script for establishing the connection:
image

I was wondering if something has changed in the Cityworks 15.6.1 and how authentication is done?

Thanks,
Nataliya

@aparker-cityworks
Copy link
Contributor

It looks like you are using an out dated version of the script. The authenticate endpoint has changed slightly by adding /General in the url:

url = "{}/Services/General/Authentication/Authenticate".format(baseUrl)

@Nataliya1
Copy link
Author

That worked. Thanks

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