Commit 7221848
authored
Remove hyphens from UUID to satisfy mapping file ID requirements (#14)
* Remove hyphens from UUID to satisfy mapping file ID requirements
Remove hyphens from UUID to satisfy mapping file ID requirements
I don't know if this is official or documented anywhere, but it looks
like the mapping file ID must be a UUID *without hyphens*. Uploading a
file with a UUID like 6ac7912c-d163-47a0-ae4e-f6d3ad3a21c7 results in
an API response like:
```
"error": {
"code": 3,
"message": "Invalid URL: Not a valid uuid."
}
```
Removing the hyphens makes it work.
I'm not sure how "generalizable" we want the code in this repository
to be. It seems to me that this target should specifically be used to
generate a UUID that can be used directly for a mapping file upload.
To that end, I think it is correct to follow the exact format that
makes this work, rather than make something purely generalizable.
* Update README.md with updated UUID spec1 parent 43c8cfc commit 7221848
2 files changed
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
66 | | - | |
| 65 | + | |
| 66 | + | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
| 73 | + | |
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
0 commit comments