Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
Hello:
I've been receiving this error message when trying to import some custom icons:
#/ must be object (type; matching schema #/type)
I use a file converter to change my word file (docx) to a json file before trying to import. Can you please tell me what is wrong with my code below? I have attempted many times based on what I could find in the forum or internet.It is my word docx. Thank you!
{
"name": "Custom Icons",
"icons": {
"Expired Icon": {
"description": "Expired Items",
"url":
“data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAACXBIWXMAAAsTAAALEwEAmpwYAAAD5klEQVR4nM2aTWhVRxTHfz6NXzWKSqOCVVQURTdZKKRBRGsrBRPd2GYjqOBGRfELF4K6kKaKIOpSXbSgxVJ1JVLowoREtKVU1ERU8AO/QfBb1KApR/5Phke8b+a+ue/lB5eXe++ZM+e8mTlz5ryAH1XAQmAfcBZ4BLwDXgG3gTZgN/C9ZHsdA4CNMrzb87oHbAWG0UtYDNxyDLwK7ALmA1OBL4DBwDjgW2AncKnAIdNRMfoAO4APMuhfGe/LN0C749BeIEcFnPhVBnQBa/UsFDN8DfBGuo4BfSkjO9TxE49RaAH+KSIzF3gqnXsoE4s1nbo8p1J+6hRjjiKcyf5Axgx0FrZNJyI6gqaZyd4FhpAhG52FncvAEdP5t+S3kRFVzj4REp1CHDHmSf5OVgt/obNPkKEjFv2uq80CMmC/lNtml6UjxkrgBVBHBpxNMa3SOpIpj2TQlIA2XzmO2N+9grcyqDqgzXHHkT8C+6vTZjqLCjsyGrjvOHIyoK9+TmJ5SfcVmVqjgE7J35cTEwL6Wl2Q8tt9NNo9F3sNcFmynRqZEEYAj9X+iD4f63kUdnuE3y+Bi5K7AoxJ0c8BtW/TnnJG9xb+o/C1x4Z4zJnXNjKhTFcy+h6o1bNa3XfpfclYHvRAhtpJryeWAr9pZNLwp/QfLHh+UM/tfRQ2SOGFDE5zi6T7eQ/rqsY5rzTGKjLclMJ1xKM/cE16N31GZp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CTJ1bOLsWaCUVaghokxbnECmls83tvFLJPgqYs6xqlKC7qwQ4myuGgQMshKhqqKYxJlBttS2+fR0VluFmGyY4bHhPADvQt8F2lCVQ4qm/w+SEdosNLierbNp2IsHsEDspxHDH2NMyV3gTfSc9ztuTpTTE8l4BkE1ardPWW9WPZrQIjqHkaJVJvfwAsPdwHqOXH/1QyOiPVZbPLXhUhkeR6fPA87TQkPhniExXnDG6MD40NL515gL+/uNY6gN71KjDYZMc4wbvK/pp5IVJD4CxNMKypy0Pn08V204Kof9mhsaxn6mHtEN20jb6juKEU5FoqzGBC1UWHx/tQB+8V5DJFWjGDnEnjwQS8z/vXcxvoWdAjrL6bT4rqwVinK/wqRhp7GzO7iTU9Pc0SOyMuPSoa/B3HsSSzPiSMyHI8zlOWJ61vlrK56zPB/ubs4YnjEmD3ZRRcihi8aMjMuoF48C5DBnc01StFHbLob3rA4had0caGYsc8zQyIvD5mB7+RjCT2rUQtQnJZiuSeCPMMzQb1f2JdC2Dwh1DAK6vmQerXMw6YYFeQCRoU7mpjBHPrtPejgaCRJJa0bgPMClGJz462KtBQYWpj3OqLMwtCaO2fpbVT6kVFmueJStHOUYjNjFuWmucBxm3kFNj4OzVuObUbzQcVGI7rLSXf7RIixVYr6QGJKuoOgiaCT2dmFCV43x2MFXJQ0TDDGsNhRf/LaxMQFdgfQ5XQsgPzOD2yTG+BgHTVUplXQnZGwdLoWoCEfSeabgElQqP2ooyvv4MrwOEwJuE+IWoBqZHYacIlR2w8P8EiPSdznhLS78Xa2trMAS/mOZxjfD6l7rSmbfr88ky9UKMcHi/KWEIYTiI8PXoEHmcFsxvzuTFdY61hAdT6eUBE+jfxgFqPBY+jONk32GrsIRShCEZAi/gNNlMVNdreI1wAAAABJRU5ErkJggg==”}
,{"description":"Far From Expired",
"url":
“data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAACXBIWXMAAAsTAAALEwEAmpwYAAADuElEQVR4nO2YyYsVVxTGf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YbVNWgTvor0hZXaudjap81rKVzC3lIi6iuZmpw44qoFDEvSFXUMPS/dIzDtSrnaKuhGVFKXVNj7LeUU63eKIQ652ioou+Ol0qDyYovxt7T1lgeAgBTPi4/yA2KnTc3pw4KJar5483kzg/IDZKShNteme0Kd2QX3NIdkmKQoDZKeGGl5LPAfwA9lXfUwyxAAAAABJRU5ErkJggg==”
}
}
}
Solved! Go to Solution.
Couple of issues identified :
The quotes used in your JSON file seem to be smart quotes (“ ”) instead of regular quotes ("). JSON expects standard double quotes.
The colons in your URLs are represented as (:) instead of (:). In JSON, you should use a regular colon : to separate keys from values.
Couple of issues identified :
The quotes used in your JSON file seem to be smart quotes (“ ”) instead of regular quotes ("). JSON expects standard double quotes.
The colons in your URLs are represented as (:) instead of (:). In JSON, you should use a regular colon : to separate keys from values.
Thank you Nithinr. I appreciate your reply!
User | Count |
---|---|
65 | |
60 | |
47 | |
33 | |
32 |
User | Count |
---|---|
85 | |
75 | |
56 | |
50 | |
45 |