I was wondering whether there is a reference which I can follow for getting error codes and error messages of JSON objects in HTTP responses? For example, the following is for uploading failure:
"error": {
"code": "request_body_invalid_media_type",
"message": "The Content-Type header 'text/plain' isn't supported."
}
Does Microsoft (OneDrive) provide a list of these error codes and error messages? I need a reference so that I could transform these error status and pass them to another application. Does anyone know where I could find the list of these?