IBM Watson visual recognition - invalid API key - ibm-cloud

I'm trying to use the visual recognition from IBM Watson using their API.
Here is the POST request I am sending:
https://gateway-a.watsonplatform.net/visual-recognition/api/v3/classify?api_key={MY_API_KEY}&version=2016-05-20 and I specify my image in the body parameter.
I always get:
{
"status": "ERROR",
"statusInfo": "invalid-api-key"
}
I got my key from Bluemix 3 hours ago (they said the key should be working in 5 minutes).
Any ideas? Thanks
EDIT
Since this morning, I have another error:
{
"status": "ERROR",
"statusInfo": "invalid-api-key-permissions"
}
Is this me or Watson is still under maintenance?

The Visual Recognition service was experiencing problems recognizing keys; the development team has resolved the problem as of July 14. (There is additional discussion of this issue on the IBM developerWorks Answers forum, and you can open a support ticket on a specific key issue at Bluemix support).

Related

Action on Google deploy tab returns 504

When trying to access https://console.actions.google.com/project/*project-id*/release/ I get following error message:
If I open the developer console in Chrome and check for failed network calls it shows a 504 on https://console.actions.google.com/m/actions/agents/versions/get?projectNumber=*project-number* with this body:
I tried clearing my cache and tested on multiple browsers but since it also happens on other devices I guess this is a server issue.
Anyone who can help me out?
I was experiencing the same issue for a published Action.
According to Actions on Google support, it's because the cumulative size of all the versions of our action were causing that version request to timeout when it tries to pre-load them all at once.
The solution for me was to, raise a support request (I clicked the link in your screenshot, Actions on Google Support, included a screenshot of that message, request type deployment issue and a brief description of not being able to access the deploy/test tabs) and then when support responded, they asked which versions to keep/delete. I said delete all except one version either side of the currently deployed version.
A note on preventing this - I couldn't find a consistent method for deleting versions/releases. I believe the versions created in Dialogflow by doing a Publish A Version can be deleted in Dialogflow. But versions created by releases in Actions on Google, have the delete options greyed out in Dialogflow, and I couldn't find where to do that in Actions on Google.

Azure ElasticPool "BadRequest" during creation deployment when using ARM template

I have a task where I need to use ARM template to "setup SQL server with elastic pool and 2 databases (imported from bacpac files) use Microsoft Adventureworks samples."
Most of the template I made using "101-sql-elastic-pool-create" template that is available here: https://github.com/Azure/azure-quickstart-templates/tree/master/101-sql-elastic-pool-create
I used it for the elastic pool setup and used a sample from this documentation (https://learn.microsoft.com/en-us/azure/azure-resource-manager/templates/template-tutorial-deploy-sql-extensions-bacpac) to have the .bacpac imported to the database
But when I try to deploy this template (the template is available to see here: https://github.com/KarlisAG/SQL_ARM/blob/main/azuredeploy.json ) it throws me an error
("Resource Microsoft.Sql/servers/elasticPools 'task4sql/elasticp' failed with message '{ "code": "BadRequest", "message": "An error occurred while processing this request.", "target": null, "details": [], "innererror": [] }' ")
So, the biggest problem is (besides me being an absolute newbie) not knowing what I need to fix, because there is no additional information granted, besides the "BadRequest". For deployment I used two different methods: 1) the automatically generated one from VS when created Azure resource groups, 2) One shown in this documentation, with few of my own changes, so it could work for me ( https://learn.microsoft.com/en-us/azure/azure-resource-manager/templates/template-tutorial-deploy-sql-extensions-bacpac#deploy-the-template ), from where I also got the code part for importing .bacpac to my newly created database. [Both of the are available at the same repository, named "Deploy-AzureResourceGroups.ps1" and "DeployScript.ps1" respectively].
Both of the methods return the same error.
I even manually created these things in Azure portal to see what their template looks like and maybe copy some things that are not present in my template, but from what I saw I have exactly what they automatically generate.
And when I checked the deployment status in Azure portal I can also see that during the elastic pool creation it fails: screenshot from that section available here
So does anyone know how should I have created this type of template, or did I recreate it poorly, or am I missing some small mistake that keeps blocking me?
So after multiple tries it seems that I finally figured out what I was doing wrong. I am still not sure which of the changes made a difference, besides the last one, so I will write what I changed, so other people who could be facing similar issue know what they could do fix the issue.
At first, after #stringfellow noted, I thought that Free Trial is restricting me from doing anything, but after I lowered my DTU multiple times, to the point where it was at 5 (starting from 100), the same issue persisted, so probably it was not the issue (later on I had to change it at minimum to 50). I also changed the Elastic Pool edition from Standard to Basic. But doing these changes still didn't fix the issue.
At last, after answering #NachoMartínez-Aedo comment about the api version, it got me thinking. Because in the code that I posted I used "2020-08-01-preview" api version, but in reality I used "2014-04-01-preview", because when I changed the api version of all my parts to the 2020 one, then powershell told me that (No registered resource provider found for location 'northeurope' and API version '2020-08-01-preview' for type 'servers/databases/extensions'. The supported api-versions are '2014-01-01, 2014-04-01, 2014-04-01-preview'.). And after reading through that again and remembering that when I was looking at some documentation and Azure portals automatically generated templates I knew that I always say them using the 2020 api, not the 2014, which left me confused as to why I couldn't also use the newest version. And reading that error again I saw, that it specifically told that 2020 api version was not supported for the type "servers/databases/extensions", not that all of the parts must be in 2014 version (which is what I thought when I saw that error), so I tried and changed all the 2014 back to 2020 and left the extension api back at 2014 (previously I thought that all api versions should be the same, not sure why, maybe because most of the examples and documentation had everything have the same api version) and the everything worked, even the import part, about which I was worried.
So in the future I am not too sure if there is a better/newer way to import .bacpac file to newly created database with ARM, or just have to leave it as is and in the future use this same approach. Does anyone know?
I got the import extension from here: https://learn.microsoft.com/en-us/azure/azure-resource-manager/templates/template-tutorial-deploy-sql-extensions-bacpac
, where they use examples with 2014 api for the extension, so because of that I tried to use it for all my parts, but only during this answer writing did I realize and look through it again, that they used the 2014 api only for the extension part and not other parts, like server, database, etc.
TL;DR
So basically I needed to use the '2020-08-01-preview' api for everything besides from the extension part, where the newest api version is only '2014-04-01-preview'
I was able to deploy most of your template and use similar parameters in my own subscription. I saw in your screen capture that you are using a Free Trial subscription. I am curious if that has anything to do with the 'BadRequest' due to any sort of DTU limitation.
Here is my deployment, which failed as expected when it tried to import the databases.

Getting an error "Reseller channel 2c95500b-ea86-4b13-8bb5-b2f0c2fa8200 is invalid." when I try to create a cloud object storage

I created the watson service and went to create a new project. It expects me to add Cloud Object Storage. When I chose the Lite option and press create I get this error "Reseller channel 2c95500b-ea86-4b13-8bb5-b2f0c2fa8200 is invalid."
My goal here is to setup the Watson service in order to play with Visual Recognition dk service. But I am stuck at this stage.
Can someone help with some suggestion of what else can I try or what I might be doing wrong?
Thanks!
I also struggled with this a few minutes ago.
And Cloud Object Storage link at the bottom of the page under Choose project options won't help,
but i found another solution that works for me
Go to https://www.ibm.com/cloud/object-storage/pricing
and click Order IBM Cloud Object Storage at bottom of the page
I hope this can solve your problem

Is EPPlus.Core Safe?

I decided to use EPPlus.Core to create excel documents on my .Net Core API project. I have just realised that if I click the "EPPlus library" url on the following web site Google gives a critical warning.
https://github.com/VahidN/EPPlus.Core
And I see this message on the Show Details section:
"Warnings are shown for websites where harmful software has been detected. You can check the status of “archive.codeplex.com” on the Google Safe Browsing diagnostic page."
So is EPPlus.Core safe? Does it steal info from server? Anyone currently using it had any issues?

What means the Error-Code 520 in IBM Notes?

I permanently get the "Notes Error 520". I get no additional (Debug-) Information from IBM Notes.
Does anyone know what this means and how to fix it?
I´m using IBM Notes IBM Notes 9 Social Edition Release 9.0.1FP6 Revision 20160423.1936-FP6 (Release 9.0.1FP6)
Screenshot --> Notes Error 520
Error 520 is a user-defined error code. What you're probably seeing is the developer's lazy error handling where it just does a
msgbox "Error: " + cstr(err)
What 520 means is that we would have no way of knowing what the error is without seeing the code that's running. Your best bet is to contact the developer and ask him/her.