http.yaml
1 InvalidRequest: 2 description: "Invalid request syntax." 3 content: 4 application/json: 5 schema: 6 type: object 7 properties: 8 code: 9 description: "Either specific error code in case of invalid request or http status code" 10 type: number 11 example: 400 12 message: 13 description: "Message describing error" 14 type: string 15 stacktraces: 16 description: "Optional stacktraces, sent when node is in debug mode" 17 type: array 18 items: 19 type: string 20 InternalError: 21 description: "Beacon node internal error." 22 content: 23 application/json: 24 schema: 25 type: object 26 properties: 27 code: 28 description: "Either specific error code in case of invalid request or http status code" 29 type: number 30 example: 404 31 message: 32 description: "Message describing error" 33 type: string 34 stacktraces: 35 description: "Optional stacktraces, sent when node is in debug mode" 36 type: array 37 items: 38 type: string 39 example: 40 code: 500 41 message: "Internal server error" 42 CurrentlySyncing: 43 description: "Beacon node is currently syncing, try again later." 44 content: 45 application/json: 46 schema: 47 type: object 48 properties: 49 code: 50 description: "Either specific error code in case of invalid request or http status code" 51 type: number 52 example: 404 53 message: 54 description: "Message describing error" 55 type: string 56 stacktraces: 57 description: "Optional stacktraces, sent when node is in debug mode" 58 type: array 59 items: 60 type: string 61 example: 62 code: 503 63 message: "Beacon node is currently syncing and not serving request on that endpoint" 64 NotFound: 65 description: "Not found" 66 content: 67 application/json: 68 schema: 69 type: object 70 properties: 71 code: 72 description: "Either specific error code in case of invalid request or http status code" 73 type: number 74 example: 404 75 message: 76 description: "Message describing error" 77 type: string 78 stacktraces: 79 description: "Optional stacktraces, sent when node is in debug mode" 80 type: array 81 items: 82 type: string 83 example: 84 code: 404 85 message: "Requested item not found" 86 ErrorMessage: 87 type: object 88 properties: 89 code: 90 description: "Either specific error code in case of invalid request or http status code" 91 type: number 92 example: 404 93 message: 94 description: "Message describing error" 95 type: string 96 stacktraces: 97 description: "Optional stacktraces, sent when node is in debug mode" 98 type: array 99 items: 100 type: string 101 IndexedErrorMessage: 102 type: object 103 properties: 104 code: 105 description: "Either specific error code in case of invalid request or http status code" 106 type: number 107 example: 400 108 message: 109 description: "Message describing error" 110 type: string 111 example: "some failures" 112 failures: 113 description: "List of individual items that have failed" 114 type: array 115 items: 116 type: object 117 properties: 118 index: 119 description: "Index of item in the request list that caused the error" 120 type: number 121 example: 3 122 message: 123 description: "Message describing error" 124 type: string 125 example: "invalid signature" 126