Post

Replies

Boosts

Views

Activity

Reply to Safari redirect to base64 encoded html fails on iOS 14
<html> <head> </head> <body> 		<script> 				document.body.innerHTML = decodeURIComponent(escape(window.atob('PCFET0NUWVBFIEhUTUw+CjxodG1sPgogICAgPGhlYWQ+CiAgICAgICAgPHRpdGxlPldlPC90aXRsZT4KICAgICAgICA8bWV0YSBodHRwLWVxdWl2PSJDb250ZW50LVR5cGUiIGNvbnRlbnQ9InRleHQvaHRtbDsgY2hhcnNldD1VVEYtOCIgLz4KICAgIDwvaGVhZD4KICAgIDxib2R5PgogICAgICAgIFRFU1QKICAgICAgICAKICAgIDwvYm9keT4KPC9odG1sPgo='))); 		</script> </body> </html>
Topic: Safari & Web SubTopic: General Tags:
Aug ’20
Reply to filter[vendorNumber] Invalid vendor number specified. Try again.
Finally I found the solution, what happens is that the error do not point you to the right direction. What really happens is that you are using a not allowed combination of parameters as listed in: https://developer.apple.com/documentation/appstoreconnectapi/download_sales_and_trends_reports You should use a different reportSubType: api.appstoreconnect.apple.com/v1/salesReports?filter[frequency]=DAILY&filter[reportSubType]=SUMMARY&filter[reportType]=SALES&filter[vendorNumber]=xxxxxxxx&filter[reportDate]=2020-07-01&filter[version]=10 api.appstoreconnect.apple.com/v1/salesReports?filter[frequency]=DAILY&filter[reportSubType]=SUMMARY&filter[reportType]=PREORDER&filter[vendorNumber]=xxxxxxxx&filter[reportDate]=2020-07-01&filter[version]=10
Aug ’20
Reply to Unable to authenticate salesReports (JWT + NodeJS)
I found your post and solve the error that you get as follows: Instead of: let exp = new Date(); exp.setMinutes(exp.getMinutes() + 10); 	const claims = { 			 'iss' : iss, 			 'exp' : exp.getTime(), 			 'aud': 'appstoreconnect-v1' 	}; Try: let now = Math.round((new Date()).getTime() / 1000); // Notice the /1000 let nowPlus20 = now + 1199 // 1200 === 20 minutes; const claims = { 										"iss": iss, 										"exp": nowPlus20,	 										"aud": "appstoreconnect-v1" }; You will found a new Error due that you are not passing the requested parameters to the query, look at: https://developer.apple.com/documentation/appstoreconnectapi/download_sales_and_trends_reports I also still not solve the problem completely, here is the error that I'm already getting: https://developer.apple.com/forums/thread/655667?page=1#625376022
Topic: App & System Services SubTopic: General Tags:
Aug ’20