API Testing
Problem:
Even after re-running it again and again, it keeps
saying its invalid token has expired.
Gallery:-
[Link] Upload Images to Gallery (Admin)
{
"success": false,
"statusCode": 401,
"error": "Unauthorized",
"message": [
"Invalid or expired token"
],
"timestamp": "2026-04-08T13:54:06.908Z",
"path": "/platform-service/admin/gallery/bd7fb73b-0f29-4c33-8118-
d6bddd03e78d/images?page=1&limit=20"
}
[Link] Delete Gallery Category (Admin)
{
"success": false,
"statusCode": 401,
"error": "Unauthorized",
"message": [
"Invalid or expired token"
],
"timestamp": "2026-04-08T13:54:30.370Z",
"path": "/platform-service/admin/gallery/bd7fb73b-0f29-4c33-8118-
d6bddd03e78d"
}
[Link] Get All Categories (Admin)
{
"success": false,
"statusCode": 401,
"error": "Unauthorized",
"message": [
"Invalid or expired token"
],
"timestamp": "2026-04-08T13:54:51.708Z",
"path": "/platform-service/admin/gallery?page=1&limit=10"
}
Contact us(admin):-
[Link] Bulk Delete Contact Submissions
(Admin)
"success": false,
"statusCode": 400,
"error": "Bad Request",
"message": [
"No IDs provided for deletion"
],
"timestamp": "2026-04-08T14:21:39.325Z",
"path": "/platform-service/admin/contact-us"
}
Our team:-
[Link] Create Team Member (Admin)
{
"success": false,
"statusCode": 401,
"error": "Unauthorized",
"message": [
"Invalid or expired token"
],
"timestamp": "2026-04-08T14:01:45.359Z",
"path": "/platform-service/admin/team"
}
Branches:-
1. POST Create Branch (Admin)
{
"success": false,
"statusCode": 401,
"error": "Unauthorized",
"message": [
"Invalid or expired token"
],
"timestamp": "2026-04-08T14:08:11.393Z",
"path": "/platform-service/admin/branches"
}
Company:-
[Link] Create Company (Admin)
{
"success": false,
"statusCode": 401,
"error": "Unauthorized",
"message": [
"Invalid or expired token"
],
"timestamp": "2026-04-08T14:13:16.144Z",
"path": "/platform-service/company"
}