Category: blog
Browse e-smartsolution’s blog
Microsoft Power automate, encodian Insert HTML to PDF, BadGateway 502 solution
Microsoft Power automate, encodian Insert HTML to PDF, BadGateway 502 solution
Error message and action Action ‘Insert_HTML_to_PDF’ failed
{
"error": {
"code": 502,
"source": "flow-apim-europe-001-northeurope-01.azure-apim.net",
"clientRequestId": "7dd5f762-ee40-4c41-8541-9df5b92281d4",
"message": "BadGateway",
"innerError": {
"HttpStatusCode": 500,
"HttpStatusMessage": "An error occurred processing the request",
"OperationId": "3626fc0e-574b-4447-a4fb-bbeef023b27a\\1",
"Errors": [],
"Operation Status": "Error",
"Filename": null,
"FileContent": null
}
}
}
Solution 1: Rebsumit it
If the error code 500 or 502 appears, the failure is temporary or transient. Click or tap Resubmit to try the flow again.
Solution 2: Double-check the original PDF you are try to appaend is OK first.
You can not preview the file SharePoint by the browser the “Insert HTML to PDF” process will fail.
Hmm.. Looks like this file doesn’t have a preview we can show you.
In our case the uploading document by Power apps were not decoding the final document on SharePoint
Share an app with Microsoft 365 Groups
Share an app with Microsoft 365 Groups. Ppower apps how give implicit access to sharepoint group?
Ensure you have access to the Azure AD cmdlets.
Go to Azure portal > Azure Active Directory > Groups > Select the appropriate group > Copy the Object Id.
1 Connect to Azure AD using PowerShell:
code> C:\system>system32> Connect-AzureAD
2- Get-AzureADGroup -ObjectId 9d046f003-93b7-4691-9935-174139c990d3 | select *
3 If the group isn’t security enabled, you can enable it using PowerShell cmdlet Set-AzureADGroup by setting the SecurityEnabled property to True:
code> C:\system>system32>Set-AzureADGroup -ObjectId 9d046f003-93b7-4691-9935-174139c990d3 -SecurityEnabled $True
Assign a security group in Azure AD to a role
In the sharing panel, select Assign a security role under Data permissions.
Select the Dataverse role(s) that you want to apply to the selected Azure AD user(s) or group(s):
What CMOS Settings Wrong, CMOS date/Time Not Set?
The CMOS Settings Wrong, CMOS Date/Time Not Set are telling you the date on the device is not set.
what is CMOS? CMOS is Complementary Metal–Oxide–Semiconductor or CMOS RAM, Non-Volatile RAM (NVRAM), Non-Volatile BIOS memory: Most CMOS batteries will last the lifetime of a motherboard, up to 10 years in most cases.
1- It’s possible if the device was a long time without power and the CMOS battery is drained out or either the CMOS battery is dead.
1- Solution A – if the CMOS battery is not dead you connect to power and set the date and time and let the device charge that battery. If after a long time you can remove the power cable and reconnect it. If you restart the device and do you still seeing the same message about “CMOS Settings Wrong”: Definitely the CMOS battery is dead!
2- Solution B – You will replace the CMOS battery; you search by brand and model and buy a new battery.
Zoom offers integrated live transcription
The live transcription is available at moment for “Licenced users”
To Enable it, go your account > Settings, and to section bellow and enable: “Closed captioning” and Enable live transcription service to show transcript on the side panel in-meeting
Closed captioning:
Allow host to type closed captions or assign a participant/third party device to add closed captions
Enable live transcription service to show transcript on the side panel in-meeting
Enabling the live transcription on the Zoom meeting:
Start the meeting
Click CC/Live Transcript button that appears on Zoom toolbar
Click Enable Auto-Transcription
Microsoft form with upload file, Who can fill in this form?
Microsoft form with upload file, Who can fill in this form?
The option; Anyone can respond -is disabled when the form has an upload file:
File upload is only available when “Only people in my organisation can respond” is the selected setting
When you add a file upload to a form, the form cannot be shared with anyone link and is restricted to other people within your organization.
Who can fill in this form?
The reason is that uploaded files for personal forms are stored in the form creator’s OneDrive for Business account, at date of 24/12/2020 only the users inside the Office 365(Active Directory) can access the form with the upload option.
Solution for Drupal 8, The website encountered an unexpected error. Please try again later.
Solution for Drupal 8, The website encountered an unexpected error. Please try again later.
The website stoped working and also the admin section.
1- Change the configuration to display more information the error, on the configuration file:
/sites/default/settings.php and add:
$config['system.logging']['error_level'] = 'verbose';
2- After if you update your browser you see more information about the error – on our case: The issue was the connection to the database
The website encountered an unexpected error. Please try again later.
PDOException: SQLSTATE[HY000] [2002] No connection could be made because the target machine actively refused it.
in Drupal\Component\DependencyInjection\PhpArrayContainer->createService()
(line 79 of C:\xampp\htdocs\e-smartsolutionCMS\core\lib\Drupal\Component\DependencyInjection\PhpArrayContainer.php).
Drupal\Component\DependencyInjection\PhpArrayContainer->createService(Array, 'database') (Line: 173)
Drupal\Component\DependencyInjection\Container->get('database', 1) (Line: 212)
Drupal\Component\DependencyInjection\PhpArrayContainer->resolveServicesAndParameters(Array) (Line: 62)
Drupal\Component\DependencyInjection\PhpArrayContainer->createService(Array, 'cache.container') (Line: 173)
Drupal\Component\DependencyInjection\Container->get('cache.container') (Line: 544)
Drupal\Core\DrupalKernel->getCachedContainerDefinition() (Line: 910)
Drupal\Core\DrupalKernel->initializeContainer() (Line: 477)
Drupal\Core\DrupalKernel->boot() (Line: 707)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Solution Kubectl exec command terminated with exit code 126
The Solution Kubectl exec command terminated with exit code 126,
>kubectl --kubeconfig="config.yaml" exec --stdin --tty esmartpod-56c88948597-8gn8x --namespace="services" -- /bin/bash
Error:
OCI runtime exec failed: exec failed: container_linux.go:349: starting container process caused "exec: \"/bin/bash\": stat /bin/bash: no such file or directory": unknown
command terminated with exit code 126

Solution: After investigating the reason why this pod does not has a /bin/bash executable, trying with — /bin/sh instead and et voila is working
>kubectl --kubeconfig="config.yaml" exec --stdin --tty esmartpod-56c88948597-8gn8x --namespace="services" -- /bin/sh
In a Shopping campaign, conversion tracking:
In a Shopping campaign, conversion tracking:
The correct answer is:
Once you’ve set up conversion tracking, you’ll have access to a handy set of reports about your conversions (those important actions your customers take on your website, such as a purchase or email signup).
Attribution reports show you the paths custom
Practice Google Adwords &Analytics certification exam
Practise the Google Adwords cetification exam
May is in the process of expanding her shop to support more territories. After adding new data feeds, May’s Google Merchant Center account was suspended because the:
May is in the process of expanding her shop to support more territories. After adding new data feeds, May’s Google Merchant Center account was suspended because the:
The correct answer is:
Practice Google Adwords &Analytics certification exam
Practise the Google Adwords cetification exam
Shopping ads on google.com:
Shopping ads on google.com:
The correct answer is:
Shopping ads as more than a text ad–they show users a photo of your product, plus a title, price, store name, and more. These ads give users a strong sense of the product you’re selling before they click the ad, which gives you more qualified leads. Sho
Practice Google Adwords &Analytics certification exam
Practise the Google Adwords cetification exam