- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2024 04:18 PM
Hi, I had previously made a policy for a device and provisioned it. I made a second policy and tried to provision another device, but when I ran the code to generate the QR code it generates a link for me but when I click it, it says 404 Not Found - I did it through the Android Management API Quickstart notebook.
What could cause this? All the previous code for executing the policies and generating the token worked fine with no errors.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2024 05:13 AM
Hi, yes I did and the enrollment token is brand new I just generated it.
I figured out the problem, it was the use of Google charts API which has been deprecated for a long time now but still used in the quickstart for some reason. My solution was to generate my own QR code with the Jason's in the url.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2024 04:07 AM
Thank you for your question and welcome to the community.
To clarify, did you specify a default policy for the enrollment token when you created the second policy?
Additionally, could you let me know when the token was generated?
Thanks,
Reece
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2024 05:13 AM
Hi, yes I did and the enrollment token is brand new I just generated it.
I figured out the problem, it was the use of Google charts API which has been deprecated for a long time now but still used in the quickstart for some reason. My solution was to generate my own QR code with the Jason's in the url.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2024 04:12 AM
Thanks so much for the update @andreystarenky - I'm really glad you were able to resolve this.
Based on what you shared I checked in with the team on this. If anyone is experiencing the same error with quickstart, please check you are using the latest version as this was fairly recently updated. This will make sure the deprecated Google charts API doesn't cause any difficulties.
I hope this helps and thanks for highlighting @andreystarenky. 😀 Good luck with the rest of your provisioning.
Lizzie