Skip to content

Commit 8cf3cd1

Browse files
docs: fix request_index to requestIndex in README response examples
The SDK puts camelCase requestIndex in response maps; the README examples incorrectly showed snake_case request_index. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 8c292d2 commit 8cf3cd1

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ Skyflow returns tokens for the record that was just inserted.
290290
"insertedFields": [
291291
{
292292
"card_number": "5484-7829-1702-9110",
293-
"request_index": "0",
293+
"requestIndex": "0",
294294
"skyflowId": "9fac9201-7b8a-4446-93f8-5244e1213bd1",
295295
"cardholder_name": "b2308e2a-c1f5-469b-97b7-1f193159399b"
296296
}
@@ -437,14 +437,14 @@ Sample response:
437437
"insertedFields": [
438438
{
439439
"card_number": "5484-7829-1702-9110",
440-
"request_index": "0",
440+
"requestIndex": "0",
441441
"skyflowId": "9fac9201-7b8a-4446-93f8-5244e1213bd1",
442442
"cardholder_name": "b2308e2a-c1f5-469b-97b7-1f193159399b"
443443
}
444444
],
445445
"errors": [
446446
{
447-
"request_index": "1",
447+
"requestIndex": "1",
448448
"error": "Insert failed. Column card_number is invalid. Specify a valid column."
449449
}
450450
]

0 commit comments

Comments
 (0)