-
Notifications
You must be signed in to change notification settings - Fork 1
postman_entpoint_test_dokumani
{ "email": "{{EMAIL_ADDRESS}}", "password": "{{PASSWORD}}" }
rquest body :
{ "firstname": "Gelecek", "lastname": "Bilimde", "email": "[email protected]", "password": "G123.456B", "biography": "API Biography", "birthDate": "2024-09-05", "gender": "MALE", "degree": "BACHELOR" }
{ "verificationId": "06b415ec-d1d5-42b0-b5cf-7eec653adea6a" }
{ "time": "2024-10-04T19:49:04.886671576", "code": "0b4ddc07-5bbe-4891-b1ba-4ed7e1575120", "isSuccess": false, "header": "PROCESS ERROR" }
{ "refreshToken": "{{REFRESH_TOKEN}}" }
{ "refreshToken": "{{REFRESH_TOKEN}}" }
(error, result) => { pm.environment.set("ACCESS_TOKEN", result.json().content.accessToken) pm.environment.set("REFRESH_TOKEN", result.json().content.refreshToken) console.log(result.json()) return });
{ "pageSize":1, "page":10 }
{ "time": "2024-10-04T21:11:39.119104381", "code": "13689e38-f20b-44e2-b770-03ba4a8a4f91", "isSuccess": true }
"header": "Sample Header", "slug": "sample-header", "content": "Sample content of the post.", "category": { "name": "Sample Category", "order": 1, "slug": "sample-category", "icon": "sample-icon.png", "parentId": null }, "lastProcess": "CREATE", "label": ["label1", "label2"], "likeCount": 0, "active": false, "copyrightControl": false, "typoControl": false, "dangerousControl": false, "medias": [] }
{ "time": "2024-10-04T21:23:57.797992346", "code": "c010bd92-7d61-4510-ae38-5b8873976816", "isSuccess": false, "header": "DATABASE ERROR" }
{ "time": "2024-10-04T21:29:14.498206969", "code": "25596cce-da46-46c9-88b0-238614fa35e3", "isSuccess": true, "content": { "likeCount": 12 } }
rquest body : boş
{ "time": "2024-10-04T21:58:39.562275911", "code": "ebef5f07-725e-4e82-8e11-fff7ee2475c3", "isSuccess": false, "header": "PROCESS ERROR" }
500Internal Server Error
{ "time": "2024-10-04T22:01:55.239568029", "code": "8cadaf58-b76f-4c89-88d0-2f1a6e09eb53", "isSuccess": true, "content": { "content": [], "pageNumber": 1, "pageSize": 0, "totalPageCount": 0, "totalElementCount": 0 } }
[23514] ERROR: new row for relation "gb_ticket" violates check constraint "c__gb_ticket__subject" Detail: Failing row contains (, 1, TECHNICAL, acıklama AA, IN_PROGRESS, gelecekb, 2024-10-04 22:31:11, gelecekb, 2024-10-07 22:31:17). Details [row:1]
{ "id": 1, "status": "OPEN" }
{ "time": "2024-10-04T23:01:46.126594716", "code": "ee237340-3a65-4b70-b161-9a7352846cd6", "isSuccess": false, "header": "PROCESS ERROR" }
[23514] ERROR: new row for relation "gb_ticket" violates check constraint "c__gb_ticket__subject" Detail: Failing row contains (, 1, TECHNICAL, acıklama AA, IN_PROGRESS, gelecekb, 2024-10-04 22:31:11, gelecekb, 2024-10-07 22:31:17). Details [row:1]
{ "time": "2024-10-04T23:05:06.544612546", "code": "9cf7992d-9a39-44df-ad5b-f6648f1472fa", "isSuccess": true, "content": { "content": [], "pageNumber": 1, "pageSize": 0, "totalPageCount": 0, "totalElementCount": 0 } }
{ "time": "2024-10-04T23:11:11.789764813", "code": "e80d741c-ff57-4e74-9a01-74a00f89b608", "isSuccess": false, "header": "AUTH ERROR" }
{ "message": "This is a sample ticket message." }
{ "time": "2024-10-04T23:18:12.14099794", "code": "869714f7-5893-49a8-a0e8-aaeb1bd7bfcd", "isSuccess": false, "header": "VALIDATION ERROR" }
[23514] ERROR: new row for relation "gb_ticket" violates check constraint "c__gb_ticket__subject" Detail: Failing row contains (1, 1, OPEN, AYUU, OPEN, BB, 2024-10-04 23:22:30, XXX, 2024-10-04 23:22:35).
{ "time": "2024-10-04T23:34:58.433863311", "code": "c208bedd-47e1-40d7-a5e7-053d4e000633", "isSuccess": false, "header": "AUTH ERROR" }
{ "id": 1, "message": "This is a sample ticket message.", "subject": "GENERAL" }
{ "time": "2024-10-04T23:39:08.21339552", "code": "a412500c-0d55-4ae1-b937-a581fe5e5689", "isSuccess": false, "header": "VALIDATION ERROR", "subErrors": [ { "message": "must be accepted value", "field": "subject", "value": "GENERAL", "type": "TicketSubject" } ] }
2024-10-04T23:41:55.690+03:00 ERROR 5049 --- [nio-9090-exec-6] o.g.s.c.e.h.GlobalExceptionHandler : JSON parse error: Cannot deserialize value of type
org.gelecekbilimde.scienceplatform.ticket.model.enums.TicketSubjectfrom String "GENERAL": not one of the values accepted for Enum class: [OTHER, YOUR_QUESTION_REQUESTS, COLLABORATION, TECHNICAL, POST, FEEDBACK] org.springframework.http.converter.HttpMessageNotReadableException: JSON parse error: Cannot deserialize value of type
org.gelecekbilimde.scienceplatform.ticket.model.enums.TicketSubject from String "GENERAL": not one of the values accepted for Enum class: [OTHER, YOUR_QUESTION_REQUESTS, COLLABORATION, TECHNICAL, POST, FEEDBACK] at org.springframework.http.converter.json.AbstractJackson2HttpMessageConverter.readJavaTyp e(AbstractJackson2HttpMessageConverter.java:406) ~[spring-web-6.0.12.jar:6.0.12]