Successful POST request | AssertionError: expected 400 to be one of [ 200, 201 ]

Hi All,

New to here.

I am trying to migrate some files using postman and I encounter the AssertionError.
Please help

Many Thanks

Best Regard,

Duncan

You have a 400 error, which means the request has been crafted incorrectly.

Without knowing anything about the API or what the request needs to look like, it will be difficult to provide you any extra support here.

Do you have a link to the API documentation which tells us what the request should look like?

What I will say though is that if that migratePath is meant to be picking up files from your local drive, then it won’t work like that. Postman has very limited access to the underlying file system.