"AADSTS9002313: Invalid request. Request is malformed or invalid - azure-active-directory

I followed this microsoft document https://learn.microsoft.com/en-us/azure/active-directory/develop/v2-oauth2-auth-code-flow.I tried too many times ,but i still encounter this error.Which step did I do wrong?
enter image description here

Your link is invalid. According to the picture you provided, you should be using auth code flow. I am trying to reproduce your problem:
The reason for the error is that you have used the wrong code. Please check your code to make sure it is correct.

Related

getting authorization error while working with here maps

I am working with react and trying to display map component
sadly the documentation doesn't have much to say about this part
the component loads and everything is good until I start zooming in
[![at some point I start getting this apikey Invalid and map turns to white ][1]][1]
[1]: https://i.stack.imgur.com/cDEcc.png
[![this is the code I am using to render the map][2]][2]
[2]: https://i.stack.imgur.com/soWpe.png
If anyone knows some good source to help me while using the api please share it below.
Turns out the problem is my key expired after 1 hour because I need to activate my here account
Sadly I didn't get that from the notification message that I ignored because I only wanted to get the key
If anyone came across this error just check if your account is activated or not

QAF Perfecto - Not able to consume test data from XML

When trying to consume data from XML in the project in Quantum Perfecto, I am getting Lexing error. I have attached the scenario with this and the error.
Evern the same error is seen in quantum starter kit project too.
#GettingToKnowYou
Feature: Verify the Borrower can Navigate through Getting To Know You Pages
#GKY #Test
Scenario Outline: Verify Borrower complete Getting To Know You Page
Given User already Signed with "<emailaddress>" and "<password>"
Examples: {'key' : 'blenddata.borrower.dataset'}
You didn't provided details of the editor you are using. This looks like error from editor and not related to quantum project. I hope you will be able to run your test without any issue. You can try using qaf bdd editors.
Furthermore you can start using BDD2 syntax instead of Gherkin. BDD2 is advanced syntax and compatible with most of the gherkin editors. In BDD2 syntax your feature file may look like below:
#GettingToKnowYou
Feature: Verify the Borrower can Navigate through Getting To Know You Pages
#GKY #Test
#key:blenddata.borrower.dataset
Scenario Outline: Verify Borrower complete Getting To Know You Page
Given User already Signed with "<emailaddress>" and "<password>"
In run configuration for feature files which is written in BDD2 you need to use BDDTestFactory2

How to fix "..{content:" error in crm output

I've got an page output ..{content: instead of request output on some standart modules such as Email notifications.
I noticed that it happens when the url contains ...ajax=....
When I remove all ajax in url and remain the core(...modules="..."&action=...) all works fine.
I've try to turn on and turn off AJAX support of modules. It doesn't help.
The examples of the url string:
http://www.localhost/suitecrm/index.php?action=ajaxui#ajaxUILoc=index.php%3Fmodule%3DOutboundEmailAccounts%26action%3Dindex
Any help would be usefull.
I have already read simular question but answers doesn't help.

Salesforce: Internal Server Error

I have a visualforce page which is rendering correctly. There is a commandbutton "Save" which executes some DML statement and redirects to some other page. This functionality was working fine earlier. Since yesterday, on click of the "Save" button, i am getting this error :
An internal server error has occurred
An error has occurred while processing your request. The salesforce.com support team has been notified of the problem. If you believe you have additional information that may be of help in reproducing or correcting the error, please contact Salesforce Support. Please indicate the URL of the page you were requesting, any error id shown on this page as well as any other related information. We apologize for the inconvenience.
Thank you again for your patience and assistance. And thanks for using salesforce.com!
Error ID: 471693248-7806 (-1751278023)
I am not able to find out what is the cause of this error. I even tried commenting out all the code in the method called by Save button. Still, i am getting this error. What can be the cause of this type of error?
This could be caused by something else in your code not related to the Save button. Start by commenting everything out in your controller/extension and save it that way. Then property by property, and method by method un-comment sections; save each time, and review your page. That will give you a better idea where the error occurred. If that doesn't work, call your Salesforce support number.
Since you've already tried commenting out your code to no avail, try changing and re-saving the associated .meta file for your class file.
So if your file ClassName.cls-meta.xml looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<ApexClass xmlns="http://soap.sforce.com/2006/04/metadata">
<apiVersion>20.0</apiVersion>
<status>Active</status>
</ApexClass>
Try changing the API version number and re-saving:
<?xml version="1.0" encoding="UTF-8"?>
<ApexClass xmlns="http://soap.sforce.com/2006/04/metadata">
<apiVersion>23.0</apiVersion>
<status>Active</status>
</ApexClass>
Also, check to see that your class is listed as both Active and Valid in Name|Setup|Develop|Apex Classes.
Further, your org may have just received its spring upgrade over the weekend and could actually be seeing a genuine Salesforce bug! Log a case and have them troubleshoot it if so.
Good luck

Add bug to Bugzilla via code

I'm using browser-like approach for adding a bug to Bugzilla.
I'm making a successful login. When I add the bug, I don't get error. I get status code OK. But, the response html contains this:
Bugzilla – Suspicious Action
"It looks like you didn't come from the right page (you have no valid token for the create_bug action while processing the 'post_bug.cgi' script). The reason could be one of:
You clicked the "Back" button of your web browser after having successfully submitted changes, which is generally not a good idea (but harmless).
You entered the URL in the address bar of your web browser directly, which should be safe.
You clicked on a URL which redirected you here without your consent, in which case this action is much more critical.
Are you sure you want to commit these changes anyway? This may result in unexpected and undesired results."
There is a confirm button.
When I do this by hand (not by code), I don't get the error page. Instead, I get response that everything went fine and I can get my bug's id. So, ahead in my code I'm using the id. However, because of the error I get, the id is an empty string. How to resolve this?
Can it be resolved by clicking on the confirm button by code?
You can use Bugzilla's REST API from your script.
Creation of a bug is documented here

Resources