You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Azure Function V3 returning PODE 404 error with PS7 when we send http request using Azure function URL after Azure fucntions v3 platform update
Steps To Reproduce
Steps to reproduce the behavior:
Host PODE API code in Azure function V3 app and then create functions Test (httptrigger)
Store the PODE module in Modules folder in file content.Here is Test function used to test (run.ps1)
param($Request, $TriggerMetadata)
$endpoint = 'api/Test'
Start-PodeServer -Request $TriggerMetadata -Type 'AzureFunctions' {
Add-PodeRoute -Method Get -Path $endpoint -ScriptBlock {
param($e)
Write-PodeJsonResponse -Value @{ 'Value' = "I am Healthy! Go Ahead" }
}
Once we try to send http request, then we are getting 404 PODE error code
In Azure function log, it looks function executed successfully , no error log is thrown.
Expected Behavior
The Azure function API using PODE should respond with correct response. The recent upgrade Azure functions (V3) changed this behavior and returning 404 error and function says it is executed successfully. They were working previously.
Screenshots
Platform
OS: Windows
Browser: Chrome, IE Edge
Versions:
Pode: Pode v1.8.3
PowerShell: PS7
Additional Context
We have hosted different functions in Azure Function V3 app using PODE frame work in a Sandbox. Everything works till May 2020 and we have not used that Sandbox environment till last week. After that Azure functions V3 platform upgraded in that gap and we tried to verify last week the function URLs and suddenly they are returning PODE 404 error. We also verified with latest PODE version 1.8.3 and still the same pode error.
The text was updated successfully, but these errors were encountered:
Agreed, this does look like Functions V3 has changed something; the fact the 404 is on /api/ and not /api/Test is a little suspect 🤔 I'll do some digging and see what I can find.
Describe the Bug
Azure Function V3 returning PODE 404 error with PS7 when we send http request using Azure function URL after Azure fucntions v3 platform update
Steps To Reproduce
Steps to reproduce the behavior:
Host PODE API code in Azure function V3 app and then create functions Test (httptrigger)
Store the PODE module in Modules folder in file content.Here is Test function used to test (run.ps1)
param($Request, $TriggerMetadata)
$endpoint = 'api/Test'
Start-PodeServer -Request $TriggerMetadata -Type 'AzureFunctions' {
Add-PodeRoute -Method Get -Path $endpoint -ScriptBlock {
param($e)
Write-PodeJsonResponse -Value @{ 'Value' = "I am Healthy! Go Ahead" }
}
Add-PodeRoute -Method Post -Path $endpoint -ScriptBlock {
param($e)
Write-PodeJsonResponse -Value @{ 'Data' = $e.Data['Name'] }
}
Add-PodeRoute -Method Put -Path $endpoint -ScriptBlock {
param($e)
Update-Thing -Name $e.Data['Name']
}
}
Once we try to send http request, then we are getting 404 PODE error code
In Azure function log, it looks function executed successfully , no error log is thrown.
Expected Behavior
The Azure function API using PODE should respond with correct response. The recent upgrade Azure functions (V3) changed this behavior and returning 404 error and function says it is executed successfully. They were working previously.
Screenshots
Platform
Additional Context
We have hosted different functions in Azure Function V3 app using PODE frame work in a Sandbox. Everything works till May 2020 and we have not used that Sandbox environment till last week. After that Azure functions V3 platform upgraded in that gap and we tried to verify last week the function URLs and suddenly they are returning PODE 404 error. We also verified with latest PODE version 1.8.3 and still the same pode error.
The text was updated successfully, but these errors were encountered: