Skip to content

Amplify Rest API PUT Request is throwing message : unknown error #12997

@saharJ95

Description

@saharJ95

Before opening, please confirm:

JavaScript Framework

React

Amplify APIs

REST API

Amplify Version

v6

Amplify Categories

api

Backend

Other

Environment information

# Put output below this line


Describe the bug

I am using amplify RestAPi PUT request...
I am getting this Unkonwn Error
image

Expected behavior

I am not getting backend errors properly this is the response of API
image

Reproduction steps

Update any PUT request that's has an error

Code Snippet

image

I am using this code fir all REST API request but PUT is behaving odd in error cases

Log output

// Put your logs below this line


aws-exports.js

No response

Manual configuration

No response

Additional configuration

No response

Mobile Device

No response

Mobile Operating System

No response

Mobile Browser

No response

Mobile Browser Version

No response

Additional information and screenshots

No response

Metadata

Metadata

Labels

APIRelated to REST API issuesdocumentationRelated to documentation feature requestsquestionGeneral question

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions