Announcing the SAVIYNT KNOWLEDGE EXCHANGE unifying the Saviynt forums, documentation, training, and more in a single search tool across platforms. Click HERE to read the Announcement.

uploadSchemaFile API returns "Unexpected error occurred" "Errorcode 1"

SBUK
New Contributor III
New Contributor III

Hi,

So got my bearer token, and trying to post up some files to Datafiles.

Anyone any ideas why this is not working?

Thanks 

SB

SBUK_0-1677078340061.png

 

2 REPLIES 2

DaanishJawed
Saviynt Employee
Saviynt Employee

Hi,

This is working for me. Refer the below screenshot and compare with your API body.

Screenshot 2023-02-22 at 10.24.29 AM.png

Make sure you select field as file and not text.

Screenshot 2023-02-22 at 10.26.12 AM.png

Can you try and let me know?

SBUK
New Contributor III
New Contributor III

Ah - File...!

Thanks.