I am trying to upload a file to a list with a field of type azureStorageImage. I've tried already many different things, but cannot make it to work. Maybe someone can point me where I am doing something obviously wrong, what else I could try:
Error I am getting:
GraphQLError: Variable "$data" got invalid value { resolve: [function], reject: [function], promise: {}, file: { createReadStream: [function createReadStream], filename: "blabla.png", mimetype: "image/png", encoding: "utf-8" } } at "data.logo.upload"; Upload value invalid.
Hi,
I am trying to upload a file to a list with a field of type azureStorageImage. I've tried already many different things, but cannot make it to work. Maybe someone can point me where I am doing something obviously wrong, what else I could try:
Error I am getting: GraphQLError: Variable "$data" got invalid value { resolve: [function], reject: [function], promise: {}, file: { createReadStream: [function createReadStream], filename: "blabla.png", mimetype: "image/png", encoding: "utf-8" } } at "data.logo.upload"; Upload value invalid.
and the code I am using to create new items and upload images.