Failed to find subscription in azure gov region - azure-gov

I am trying to query for a resource group's location and fail. This is done in an azure government region.
The response I get is the subscription does not exist.
The uri I am accessing is management.azure.com.
I am not using a sdk.
I did not see a corresponding remapping to another uri for gov regions. Is this the correct uri?
Thank you

Related

Apache nifi getTwitter Processor returning 403 forbidden

I want to use Apache Nifi to track real time tweets
i pasted in my keys correctly but all requests return this error :
19:15:20 UTC ERROR
GetTwitter[id=59b5cb18-017e-1000-a6a2-991a653ec138] Received error HTTP_ERROR: HTTP/1.1 403 Forbidden. Will attempt to reconnect
i dont know where the problem is from.
thank you.
403 Forbidden means the Twitter API is rejecting your request - your access keys could be incorrect, or you might not have the right access rights for the endpoint you're accessing.
The request is understood, but it has been refused or access is not allowed. An accompanying error message will explain why.
Check that your developer account includes access to the endpoint you’re trying to use. You may also need to get your App allowlisted (e.g. Engagement API or Ads API) or sign up for access.
From https://developer.twitter.com/en/support/twitter-api/error-troubleshooting
Make sure you follow the advice from Twitter here and make note of:
With Essential access, you are only able to make requests to the Twitter API v2 endpoints, and not the v1.1 or enterprise endpoints. You are limited to 500K Tweets/month, and unable to take advantage of certain developer portal functionality such as teams and access to additional App environments
There are limits on what you can do with the Essential access level. See here.
If that doesn't help - please include a screenshot of your GetTwitter config and your version of NiFi.
If it raises 403 error while using GetTwitter processor in nifi.
API Key & consumer key aren't only a problem. Change the Twitter endpoint field while configuring the GetTwitter processor from
Filter Endpoint
to
Firehose Endpoint
In the field of twitter endpoint
Probably this will work!!

Azure File Storage the server responded with a status of 400 (Condition headers are not supported.)

I have some png files stored in Azure file Storage, and I'm retrieving and displaying it from my MVC web project to the browser. But sometimes I get the below error message from browser console.
Failed to load resource: the server responded with a status of 400
(Condition headers are not supported.)
If I refresh the page again, the error message disappears automatically. But it doesn't solve my problem as I run my MVC project again, the same error comes back. How to solve it?
It's acutally a common issue on Azure Storage, which be listed in the offical reference Common REST API Error Codes as the figure below.
It means that Get File REST API does not support those request headers which not be listed in the Request Headers.
There is a similar SO thread Azure File Storage Error: Condition Headers Are Not Supported, which got the same issue with yours. It seems to show up different behavior in different browses when you get a file from Azure File Storage.
I could not reproduce this issus by a file url with SAS token, but I really recommend that you need to store these static files like images on Azure Blob Storage, as I known and as Azure best practice, to show an image by its url with sas token or a public container.

Amazon MWS scratchpad access denied

I am a registered PRO seller on Amazon UK (and all EU marketplaces on the same account)
I have my seller account ID, Developer Id, Developer Auth token and private key.
In MWS scratchpad, I can put a request and get a successful response for the status APIs as I don't believe they use any authetication, but any other request (e.g. listReports) just returns an access denied error message. I know the credentials are correct as if I edit them, get get authentication error messages. I have opened a case with support but after three days of waiting I have not even has acknowlegement of the issue let alone a solution.
Does anyone know what I am doing wrong, or where I go in my admin panel to give my own developer account the correct permissions.
NOTE: This is not 3rd party development, I only want to build out solutions for my own business.
TIA
Aaron
amazon scratchpad url is different country to country. most probably you are trying on different scratchpad country's url.

AWS [SES]: the reason(s) behind getting ProductionAccessNotGrantedException

To use the SES within AWS to handle my site's subscriptions, I did the following:
Verified my email and domain that I want to send the email from. Also used IAM and gave the proper access to send a customized email
Using AWS Cli created a CustomVerificationEmailTemplate.
Created a configuration set and linked it to a SNS.
Used Java SDK, created a client of type AmazonSimpleEmailService and a sendCustomVerificationEmailRequest variable and used the sendCustomVerificationEmail method to send the invitation email.
However I do get the following exception:
[ProductionAccessNotGrantedException: null (Service: AmazonSimpleEmailService; Status Code: 400; Error Code: ProductionAccessNotGranted; Request ID: *****
Any idea why I do get this exception? Where should I get the production access?
SES service will be under sandbox status by default in all AWS accounts. In sandbox status, we can not do certain things like using CustomVerificationEmailTemplate.
We need to raise a service request to take it out of sandbox status. more documentation process on how to get it out sandbox status is here.

search results different using deezer api on hosted node and client browser

I'm searching using a server hosted on Microsoft Azure (hosted in dublin,ireland) If I wget using a search API on the Irish node,
i.e.:
wget "http://api.deezer.com/search/track?q=AN21 - Everything"
on this server I get:
{"data":[{"id":3972462,"readable":true,"title":"Black Spider","link":"http:\/\/www.deezer.com\/track\/3972462","duration":306,"rank":391291,"explicit_lyrics":false,"preview":"http:\....
which is different on my browser using the web-api search (based in France):
{"data":[{"id":96313320,"readable":true,"title":"Everything","link":"http:\/\/www.deezer.com\/track\/96313320","duration":272,"rank":533475,"explicit_lyrics":false,"preview":"http:\/\/cdn-preview-8.deezer.com\/stream\/87637bc3a17ec0376ce34ee7d19ba17d-2.mp3","artist":{"id":471649,"name":"AN21",
Is there a way to get all the data for the track irrespective of the location of the request origin?
In the example above the title "Everything" for example is not in the output from the hosted server, but the users of my site may have request access to it from their location.
The tracks are according to your localization, there is no possibility to get the correct tracks from your country except if you provide the access token of the user in the request, so his country will be used to return the good tracks.