I am trying to upload file using strapi upload api. I get 413 error

Hi Yes, can you try :

headers: { 
                          'Authorization': 'Bearer '+token,
                          ...data.getHeaders()
                        },