Authorization has been denied for this request

77 views
Skip to first unread message

Aadhithan

unread,
Mar 25, 2025, 8:08:26 AMMar 25
to Interfacing With Aeries
I am a developer, and I want to integrate Aeries into my application. I logged in using a demo account, obtained the API security details, ID, and secret key, and got the access token. However, when trying to use the API for a student, I am facing a 401 error. I tried using a roster method as well.

Do I need to use the Aeries API for authentication only to get the certificate ID? In the Aeries API, only the certificate is returned. How can I perform authorization, and then use the student, teacher, and other APIs?
Capture4.JPG
Capture45.JPG
Capture2.JPG

Nguyen, Trang

unread,
Mar 25, 2025, 10:41:22 AMMar 25
to interfacing...@googlegroups.com
You need to use the OneRoster API endpoints


image.png



Trang Nguyen
Systems Administrator
Education & Information Technology
Anaheim Union High School District




On Tue, Mar 25, 2025 at 5:08 AM Aadhithan <axarat...@gmail.com> wrote:
I am a developer, and I want to integrate Aeries into my application. I logged in using a demo account, obtained the API security details, ID, and secret key, and got the access token. However, when trying to use the API for a student, I am facing a 401 error. I tried using a roster method as well.

Do I need to use the Aeries API for authentication only to get the certificate ID? In the Aeries API, only the certificate is returned. How can I perform authorization, and then use the student, teacher, and other APIs?

--
You received this message because you are subscribed to the Google Groups "Interfacing With Aeries" group.
To unsubscribe from this group and stop receiving emails from it, send an email to interfacing-with-...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/interfacing-with-aeries/ce134292-6f49-491f-a5d6-2d3987032eb7n%40googlegroups.com.



https://www.auhsd.us/District/department/14423-STEAMAPALOOZA




____________________________

Anaheim Union High School District

E-mail Confidentiality Notice

This e-mail communication and any attachments, including documents, files, or previous e-mail messages, constitute electronic communications within the scope of the Electronic Communications Privacy Act, 18 U.S.C. § 2510 et seq. This e-mail communication may contain non-public, confidential or legally privileged information intended for the sole use of the designated recipient(s). The unauthorized and intentional interception, use, copy or disclosure of such information, or attempt to do so, is strictly prohibited and may be unlawful under applicable laws. 18 U.S.C. § 2511. If you have received this e-mail communication in error, please immediately notify the sender by return e-mail and delete the original e-mail from your system.

Aadhithan

unread,
Mar 26, 2025, 4:05:33 AMMar 26
to Interfacing With Aeries
  I have already retrieved student details using the  OneRoster   API, but now I need to get the student contact details. Those details are available in the  3rd Party Vendor  , not in the  OneRoster   API. I plan to use that API, but I only have a certificate. How can I use that certificate to get the token for authentication?  
Screenshot (554).png

Shawn.Dean

unread,
Mar 26, 2025, 8:24:25 AMMar 26
to interfacing...@googlegroups.com
I typically use python for this but I use this as a template: https://discuss.python.org/t/obtain-api-data-token-using-requests/54430

Sent from Samsung Galaxy smartphone.
Get Outlook for Android

From: interfacing...@googlegroups.com <interfacing...@googlegroups.com> on behalf of Aadhithan <axarat...@gmail.com>
Sent: Wednesday, March 26, 2025 1:05:32 AM
To: Interfacing With Aeries <interfacing...@googlegroups.com>
Subject: Re: [interfacing-with-aeries] Authorization has been denied for this request
 

Aadhithan

unread,
Mar 26, 2025, 10:11:26 AMMar 26
to Interfacing With Aeries

I am trying to retrieve the Aeries Student Contact Details but encountered an issue. It seems there is no permission available for this in the Roaster API, and only the permission for the third-party vendor is granted.

I am currently using a demo account in Aeries and trying to work with the third-party vendor's API. However, I need to get authentication from the third-party vendor, but I am only able to retrieve the certificate ID.

I haven't tried it yet in Postman, but I plan to test it using the username and password.

I'm facing an error during this process. Can you help me resolve it? Is there any documentation available that can guide me in retrieving the student contacts list?

Screenshot (556).png

Macnoel Alvarez

unread,
Mar 26, 2025, 1:00:44 PMMar 26
to interfacing...@googlegroups.com
If you are using the Aeries API and not the One Roster API.
You will have to pass the key as "AERIES-CERT" in the header.



Kind regards,

 

Macnoel Alvarez

Director of Information Technology | Griffin Technology Academies

2 Positive Place

Vallejo, CA, 94589

707.552.6482 x5516

gtaschools.org


To submit a support ticket click here



Nguyen, Trang

unread,
Mar 26, 2025, 1:20:32 PMMar 26
to interfacing...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages