You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Chrome Version 116.0.5845.179 (Official Build) (arm64)
Reproducible: always.
Preconditions:
GreenCityDocker-3 is built and running
User is authorized
At least one eco news article is created
Steps to reproduce:
Select section “eco-news-controller”.
Select method POST/econews/uploadImage
Upload an image in JPEG format.
Send the request.
Compare the returned response with the actual one.
Actual result:
Response code 403 and response body { "timestamp": "2023-09-11T21:59:08.819+00:00", "status": 403, "error": "Forbidden", "message": "You don't have authorities.", "path": "/econews/uploadImage" } is sent
Expected result:
Response code 201 Created is sent
The text was updated successfully, but these errors were encountered:
nina279
changed the title
[Eco-news, POST/econews/uploadImage] Resulting in 403 error "Forbidden"
[Eco-news, POST/econews/uploadImage] Resulting in 403 error "Forbidden" when uploading image
Sep 12, 2023
Environment:
Reproducible: always.
Preconditions:
Steps to reproduce:
Actual result:
Response code 403 and response body { "timestamp": "2023-09-11T21:59:08.819+00:00", "status": 403, "error": "Forbidden", "message": "You don't have authorities.", "path": "/econews/uploadImage" } is sent
Expected result:
Response code 201 Created is sent
The text was updated successfully, but these errors were encountered: