Unable to publish Dialogflow bot despite brand verification - publish

Current Scenario : As per brand verification process before publishing Dialogflow bot on
google assistant, I have verified my ownership by connecting to the website for https://www.example.com/.
I am unable to publish bot I tried few combination to make it work
Invocation name : Example Bank
Bank Display name : Example Bank
Website connected : https://www.example.com/
Error : Example Bank is reserved name. Kindly verify ownership
2)
Invocation name : Example
Display name : Example
Website connected : https://www.example.com/
Error : Could not reserve Example because : App name has one word.
None of the combination worked. How do I do it ?
if, I have only website to connect to.

I contacted AoG support team. They verified from their end.

Related

IBM Watson Assistant integration with zendesk

I followed all steps listed here to integrate IBM Watson Assistant to Zendesk
https://cloud.ibm.com/docs/assistant?topic=assistant-deploy-zendesk#deploy-zendesk-routing
But I'm struggling to find exactly how am I suppose to pass values to Zendesk. The information provided is not clear enough, and if I request an agent, there's no information about the user, it shows in zendesk like this:
The documentation says:
Specify the information by using the following syntax. Use the exact names (name and email) for the two name and value pairs.
{
user_payload : {
name: '#{customerName}',
email: '#{customerEmail}'
}
}
And after that:
Decide whether to allow unidentified users to access Zendesk.
The web chat integration allows anonymous users to initiate chats. However, as soon as you enable visitor authentication, Zendesk requires that the name and email of each user be provided. If you try to connect without passing the required information, the connection will be refused.
If you want to allow anonymous users to connect to Zendesk, you can provide fictitious name and email data. Write a function to populate the two fields with fictitious name and email values.
For example, your function must check whether you know the name and email of the current user, and if not, add canned values for them:
const userPayload = {
"name" : "Jane Doe1",
"email" : "jdoe1#example.com",
}
In my case, since users will access the assistant through a webview in an Android app, I have both name and email, and I don't need a whole authentication steps, all I want is to pass to zendesk those values, but can't exactly figure it out how. In the example, it just sets this constant but I don't know what to do with it, is there any code examples for it?
Thanks in advance
if you just want to pass the email and username to Zendesk so the agent will see them, those can be passed if you set the context of the conversation as follows
context.integrations.zendesk.pre_chat = { username: "John", email: "j#j.com"}
This should appear as tags in your agent's zendesk workspace.
If you want to use Zendesk security and have the chat authenticated, then you have to set security on for the web chat and embed a user_payload inside your JWT. (as described in the docs you have linked)

Autodesk Forge accessing b360 hub to get projects - error 404

I'm trying to pubhlish a project using this guide - https://forge.autodesk.com/en/docs/data/v2/tutorials/publish-model/
I am able to get the docs hub ID for the expected hub (using 3 legged token, after having Autodesk provision the b360 docs account, and setting up integration w/ forge app), and pass this into the call to get the projects (using same token, or new token) using this guide - https://forge.autodesk.com/en/docs/data/v2/reference/http/hubs-hub_id-projects-GET/
I get back a response 404 error using the hub ID provided in the GET hubs call that starts with b.xxx from the GET hubs
{
"developerMessage": "The requested resource does not exist.",
"moreInfo": "https://forge.autodesk.com/en/docs/oauth/v2/developers_guide/error_handling/",
"errorCode": ""
}
I've tried this with a. as well, instead of b. and also no prefix on hub ID with no luck. I verified that this Id matches what is shown in the account admin settings online as well.
The get request looks like this, and includes authorization token in format Bearer {{token}} where {{token}} is the (same) variable for the token that works when getting hub ID's.
https://developer.api.autodesk.com/project/v1/hubs/b.e3a26052-6b48-4a03-9115-xxxxxxxxxxx/projects
Is my format incorrect, or is there something else going on?
The request looks ok, incl. the hub ID (the b. prefix must be there). One thing to check for is whether the actual user you're using to obtain the 3-legged token has access to any projects inside this hub.
Also, what happens when you try the GET hubs/:hub_id endpoint? Can you see the hub information or do you get 404 as well?

503 RequestThrottled : Amazon Product Advertising API CartCreate

I am using scratchpad to explore this api. I am able to use item search and item lookup however I have not been able to successfully use cartCreate a single time. I am getting this error:-
Do i need to ask for a special permission to use cartCreate ?
Error! RequestThrottled
HTTP Status 503: Service Unavailable
AWS Access Key ID: __my_key___. You are submitting requests too quickly. Please retry your requests at a slower rate.
PS: So far I have only generated few sales from my affiliate account and signed up for this api. Could that be a reason for this throttling? Is there any developer account which is not subject to such throttling so that I can continue with the exploratory work.
Thanks
CartCreate has been removed in the new API version. Instead, you have to create your own Add To Cart link or form:
https://webservices.amazon.com/paapi5/documentation/add-to-cart-form.html
In general, you'll want to minimize the number of requests you're making, as it's very easy to bump up against those throttling limits.
Source : https://forums.aws.amazon.com/thread.jspa?threadID=318920
I had exactly the same problem :
I think you explore scratchpad from
https://webservices.amazon.fr/scratchpad/index.html#
with is the old API version
With your account (and mine) I get a disturbing error message : HTTP Status 503
You should use the new scratchpad version for the API 5 of Amazon Product Advertising :
https://webservices.amazon.com/paapi5/scratchpad/index.html
Make the same request, and you should see all is ok

Android Management API: List of Enterprises/Policies?

This is driving me nuts. I've successfully followed the Android Management API Quickstart to create a project/enterprise/policy and install it on a device.
I stupidly didn't write down the enterprise or policy IDs. I tried to create a new set, but the non-enterprise email now gives an error that it's already part of another EMM.
Is there a place in the console where I can see a list of the enterprises and/or policies that I've created? Where are these stored?
Edit: I found the enterprises.get method in the API but if I put enterprises/* in the name field (per the validation) I get a 400 error indicating Invalid enterprise id. Provide a valid id. so I'm unsure how to move forward.
You can find the enterprise you created by logging into play.google.com/work with the account that was used to create it.
Click on Admin Settings to see the Organization name and Organization ID
And to find the policies of all the devices you have enrolled to this enterprise, you can simply call the API - enterprises.devices.list entering the parent in the form enterprises/{enterpriseId} [ enterpriseId here is the OrganizationID that you get from the above steps ]
This would list all the devices attached to the enterprise and in the response you can find policyName of each device.

How can I create a Google Classroom as an admin for another teacher using Google App Scripts?

I am trying to create Google Classrooms programmatically for teachers. My code works fine as long as the "owner" is me, but when I use another teacher id, I am not authorized to perform the action. I am an administrator.
I have turned on the proper Advanced Services and have found many examples that are similar but don't have the full info. I believe I have properly set up the various authentication/OAUTH in the developers console.
function testCreate() {
var newClass = Classroom.Courses.create({
"name": 'Test Course',
"section": 'Advisory',
"descriptionHeading": 'This is your advisory group',
"ownerId": [someoneElsesId]
"guardiansEnabled": true
});
If [someoneElsesId] is "me" or my id, the behavior is exactly what I want. I get a provisioned classroom added to my account that I have to ACCEPT or DECLINE, that was created by an administrator.
When I use another user's id, I receive the following error:
API call to classroom.courses.create failed with error: The caller does not have permission
I've also tried to create the classroom as me (succeeds) then add a teacher with script (gets the same error).
It turns out that being an admin isn't good enough. In order to make this work, the script user must be running as a SuperAdmin. After that change was made the code worked properly.